package demo

import (
	v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1"
	"github.com/gin-gonic/gin"
)

type SysTeacherRouter struct {
}

// 创建
func (SysTeacherRouter *SysTeacherRouter) InitSysTeacherRouter(Router *gin.RouterGroup) {
	var sysTeacherRouter = Router.Group("sysTeacher")
	sysTeacherApi := v1.ApiGroupApp.DemoApiGroup.SysTeacherApi
	//操作类
	{
		sysTeacherRouter.POST("/createSysTeacher", sysTeacherApi.CreateSysTeacher)
		sysTeacherRouter.POST("/deleteSysTeacher", sysTeacherApi.DeleteSysTeacher)
		sysTeacherRouter.POST("/deleteSysTeacherByIds", sysTeacherApi.DeleteSysTeacherByIds)
		sysTeacherRouter.PUT("/updateSysTeacher", sysTeacherApi.UpdateSysTeacher)
	}
	//读取类
	{
		sysTeacherRouter.GET("/getSysTeacherById", sysTeacherApi.GetSysTeacherById)
		sysTeacherRouter.GET("/listSysTeacher", sysTeacherApi.ListSysTeacher)

	}
}

//查询
